﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WIKID.Common
{
    class Constants
    {
        // The number of random Password Picture
        public static int MAX_RAND = 4;

        public static string CHOOSE_PASS = "Choose the right picture:";

        public static string ACCOUNTS_FOLDER = "Accounts";

        public static string SUBJECTS_FOLDER = "Knowledge Sources";

        public static string ACCOUNT_IMAGES_FOLDER = @"Images\AccountImages\";

        public static string PASSWORD_IMAGES_FOLDER = @"Images\Password\";

        public static string CONFIG_FILE = "config.dat";

        public static string THERE_NO_ACCOUNT = "There's no account";

        public static string THERE_NO_SUBJECT = "There's no subject";

        public static string THERE_NO_LECTURE = "There's no lecture";

        public static string SEPARATE_CHAR = "_";

        public static string[] CHART_TYPES = {"Column", "Line"};

        public static string[] SUBJECTS = {"English"};

        public static string[] LECTURES = {"1. Dog", "2. Cat"};

        // Parent' login and change username/pass
        public enum LOGIN_RESULT { Success = 0, InvalidID = 1, InvalidPassword = 2 }
        public static string[] INVALID_USERNAME = {"Username is not valid, please check again.", "Invalid Username!"};
        public static string[] INVALID_PASSWORD = {"Password is wrong, please check again.", "Password's Wrong!"};
        public static string[] BLANK_USERNAME = { "New Username can't be blank, please check again.", "Username is blank!" };
        public static string[] BLANK_PASSWORD = { "New Password can't be blank, please check again.", "New password is blank!" };
        public static string[] PASSWORD_NOT_MATCH = { "Passwords aren't match, please check again.", "Passwords aren't match!" };
        public static string[] CHANGE_PASS_SUCCESS = { "Username/Password changed successfully!", "Successfully!" };

        // Create new account for children
        public static string[] BLANK_ACCOUNT_NAME = { "Account Name can't be blank, please check again.", "Account Name is blank!" };
        public static string[] BLANK_ACCOUNT_PICTURE = { "Account Picture can't be blank, please check again.", "Account Picture is blank!" };
        public static string[] BLANK_PASSWORD_PICTURE = { "You must choose a Password Picture, please check again.", "No Password Picture was chose!" };
        public static string[] CREATE_ACCOUNT_SUCCESS = { "Create account successfully!", "Successfully!" };
        public static string[] CREATE_ACCOUNT_FAIL = { "Account already existed, please check again!", "Failure!" };
    }
}
